<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
		<div class="form-group">
				<label for="c-truename" class="control-label col-xs-12 col-sm-2">真实姓名:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-truename" data-rule="0" class="form-control" name="row[truename]" type="text" value="{$row.truename|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-gender" class="control-label col-xs-12 col-sm-2">性别:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="radio" >
								<label for="gender">								<input name="row[gender]" type="radio" value="1" {if $row.gender eq '1'}checked="checked"{/if} /> 男</label>
								<label for="gender">								<input name="row[gender]" type="radio" value="2" {if $row.gender eq '2'}checked="checked"{/if} /> 女</label>
						</div>
				</div>
		</div>
		<div class="form-group">
				<label for="c-mobile" class="control-label col-xs-12 col-sm-2">手机:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-mobile" data-rule="0" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-phone" class="control-label col-xs-12 col-sm-2">电话:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-phone" data-rule="0" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-email" class="control-label col-xs-12 col-sm-2">邮件:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-email" data-rule="0" class="form-control" name="row[email]" type="text" value="{$row.email|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-avatar" class="control-label col-xs-12 col-sm-2">头像:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="input-group">
								<input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar}" />
								<div class="input-group-addon no-border no-padding">
										<span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i>上传</button></span>
								</div>
								<span class="msg-box n-right"></span>
						</div>
						<ul class="row list-inline plupload-preview" id="p-avatar"></ul>
				</div>
		</div>
		<div class="form-group">
				<label for="c-qq" class="control-label col-xs-12 col-sm-2">QQ:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-qq" data-rule="0" class="form-control" name="row[qq]" type="text" value="{$row.qq|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-skype" class="control-label col-xs-12 col-sm-2">SKYPE:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-skype" data-rule="0" class="form-control" name="row[skype]" type="text" value="{$row.skype|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-alipay" class="control-label col-xs-12 col-sm-2">支付宝:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-alipay" data-rule="0" class="form-control" name="row[alipay]" type="text" value="{$row.alipay|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-ali" class="control-label col-xs-12 col-sm-2">阿里旺旺:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-ali" data-rule="0" class="form-control" name="row[ali]" type="text" value="{$row.ali|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-weixin" class="control-label col-xs-12 col-sm-2">微信:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-weixin" data-rule="0" class="form-control" name="row[weixin]" type="text" value="{$row.weixin|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-provinceid" class="control-label col-xs-12 col-sm-2">省份:</label>
				<div class="col-xs-12 col-sm-8">
						<select id="c-provinceid" data-rule="0" name="row[provinceid]" dataurl="ajax/province" class="form-control selectpickernew">
						</select>
				</div>
		</div>
		<div class="form-group">
				<label for="c-cityid" class="control-label col-xs-12 col-sm-2">城市:</label>
				<div class="col-xs-12 col-sm-8">
						<select id="c-cityid" data-rule="0" name="row[cityid]"  class="form-control selectpicker">
						</select>
				</div>
		</div>
		<div class="form-group">
				<label for="c-bank" class="control-label col-xs-12 col-sm-2">开户银行:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-bank" data-rule="0" class="form-control" name="row[bank]" type="text" value="{$row.bank|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-bankaccount" class="control-label col-xs-12 col-sm-2">银行账户:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-bankaccount" data-rule="0" class="form-control" name="row[bankaccount]" type="text" value="{$row.bankaccount|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-content" class="control-label col-xs-12 col-sm-2">简介:</label>
				<div class="col-xs-12 col-sm-8">
						<textarea name="row[content]" id="c-content" cols="60" rows="10" class="form-control summernote">{$row.content}</textarea>
				</div>
		</div>
						<div class="form-group">
								<label class="control-label col-xs-12 col-sm-2"></label>
								<div class="col-xs-12 col-sm-8">
										<button type="submit" class="btn btn-success btn-embossed">确定</button>
										<button type="reset" class="btn btn-default btn-embossed">重置</button>
						</div>
				</div>
</form>
